<?php


namespace app\common\enum\hotel;


/**
 * @projectName src
 */
class HotelEnum
{
    // 酒店、门店审核状态
    const WAIT = 0;
    const PROCESSING = 1;
    const PASS = 2;

    const REJECT = 3;

    public static function getHotelStatus($value = true)
    {
        $data = [
            self::WAIT => '待审核',
            self::PROCESSING=>'审核中',
            self::PASS => '审核通过',
            self::REJECT => '审核拒绝'
        ];
        if($value === true){
            return $data;
        }
        return $data[$value];
    }
}